package com.app.service;

import com.app.model.DepartmentModel;
import com.app.model.PlanFundsModel;
import com.app.model.StriveFundsModel;
import com.app.model.SystemModel;
import com.app.vo.DepartmentVo;

import java.util.List;

public interface DepartmentService {
    DepartmentModel add(Object name, Integer sort,Integer type);

    DepartmentModel update(String name, int sort,int id,int type);

    void deleteDepartmentById(int id);

    DepartmentVo departmentList(DepartmentModel model);

    List<DepartmentModel> getListByModel(DepartmentModel model);

    int getCountByModel(DepartmentModel model);

    DepartmentVo List(DepartmentModel model);

    List<DepartmentModel> getList(DepartmentModel model);

    int getCount(DepartmentModel model);

    List<SystemModel> getDepartmentClass();

    List<DepartmentModel> getDepartmentModelAll();

    List<PlanFundsModel> getModelByStatus(Integer status);

    List<DepartmentModel> getBusinessByStatus(Integer status);

    List<PlanFundsModel> getPlanFundsStatus(Integer status,String year);

    List<StriveFundsModel> getStriveFundsStatus();

    Integer getFundCount(Integer status);

    List<SystemModel> getSystemByPid(Integer pid);

    List<DepartmentModel> getDepartmentList(Integer type);


    int getDepartmentCount();
}
